package com.itheima.mall.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.mall.pojo.HomeAdvertise;
import com.itheima.mall.vo.PageResult;

import java.util.Date;
import java.util.List;

public interface SmsHomeAdvertiseService extends IService<HomeAdvertise> {
    PageResult getList(String endTime, String name, Integer pageNum, Integer pageSize, Integer type);

    void createAdvertise(HomeAdvertise advertise);

    void deleteAdvertise(List<Long> ids);

    void updateStatus(Long id,Integer status);

    void updateAdvertise(Long id, HomeAdvertise advertise);

    HomeAdvertise advertise(Long id);
}
